package com.boyunv.observer.example03;
/*
 *@description
 *短信发送事件监听类
 *@author boyunv
 *@create 2023/8/12 15:39
 *@version 1.0
 */

import com.boyunv.observer.example02.LotteryResult;

import javax.xml.transform.Result;

public class MessageEventListener implements EventListener{
 @Override
 public void doEvent(LotteryResult lotteryResult) {
  System.out.println("发送短信通知,用户ID:"+ lotteryResult.getUId()+",n您的摇号结果"+lotteryResult.getMsg());
 }
}
